﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PPAP.Model
{
    /// <summary>
    /// 实体类CONTACTPERSON 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class ContractPerson
    {
        public ContractPerson()
        { }
        #region Model
        private string _name;
        private string _gender;
        private string _email;
        private string _telephone;
        private string _postition;
        private string _status;
        private int? _plantid;
        private int? _id;
        private string _password;

        private string _firstname;

        public string Firstname
        {
            get { return _firstname; }
            set { _firstname = value; }
        }

        private int _isuse;
        /// <summary>
        /// 是否在使用，1为管理员，视图中不提供登录，只保存信息
        /// </summary>
        public int Isuse
        {
            get { return _isuse; }
            set { _isuse = value; }
        }


        private int _ismanager;
        /// <summary>
        /// 是否是Manager
        /// </summary>
        public int Ismanager
        {
            get { return _ismanager; }
            set { _ismanager = value; }
        }



        /// <summary>
        /// 
        /// </summary>
        public string NAME
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string GENDER
        {
            set { _gender = value; }
            get { return _gender; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string EMAIL
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string TELEPHONE
        {
            set { _telephone = value; }
            get { return _telephone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string POSTITION
        {
            set { _postition = value; }
            get { return _postition; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string STATUS
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Plantid
        {
            set { _plantid = value; }
            get { return _plantid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ID
        {
            set { _id = value; }
            get { return _id; }
        }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        #endregion Model

    }
}
